Jiffy Functions
Modified on Mon, 19 Jun 2023
8 minutes read
This document is a draft version and subject to further review and revision. Please refrain from distributing or relying on its contents as final.
UI Element | Description | Signature |
---|---|---|
isEmpty | Check if the value is empty (undefined or an empty string) | isEmpty(value:undefined): |
isPresent | Check if the value is present (not undefined and not an empty string) | isPresent(value:undefined): |
parseDate | Convert string to date | parseDate(dateString:string, format:string):Date |
getDate | Get the day of the month of the given date | getDate(date:Date | number):number |
strPrefix | Return the prefix part of an variable. prefix(aa.bb.cc) returns aa | strPrefix(str:string, index:string):string |
strSuffix | Return the suffix part of an variable. suffix(aa.bb.cc) returns bb.cc | strSuffix(str:string, index:string):string |
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article