N/util
Manually access methods that verify object and primitive types in a SuiteScript 2.x script.
Oracle reference0 of 11 methods have Mynt syntax 0%
0 implemented0 in progress0 planned0 under consideration11 open for proposals
Module functions
- util.each(iterable, callback) Iterates over each member in an Object or Array. Open for proposals ·
- util.extend(receiver, contributor) Copies the properties in a source object to a destination object. Open for proposals ·
- util.isArray(obj) Returns true if the obj parameter is a JavaScript Array object and false otherwise. Open for proposals ·
- util.isAsyncFunction(obj) Returns true if the obj parameter is JavaScript Async Function and false otherwise. Open for proposals ·
- util.isBoolean(obj) Returns true if the obj parameter is a JavaScript Boolean and false otherwise. Open for proposals ·
- util.isDate(obj) Returns true if the obj parameter is a JavaScript Date object and false otherwise. Open for proposals ·
- util.isFunction(obj) Returns true if the obj parameter is a JavaScript Function or Async Function and false otherwise. Open for proposals ·
- util.isNumber(obj) Returns true if the obj parameter is a JavaScript Number object or a value that evaluates to a Number object, and false otherwise. Open for proposals ·
- util.isObject(obj) Returns true if the obj parameter is a plain JavaScript object (new Object() or {} for example), and false otherwise. Open for proposals ·
- util.isRegExp(obj) Returns true if the obj parameter is a JavaScript RegExp object or a value that evaluates to a RegExp object, and false otherwise. Open for proposals ·
- util.isString(obj) Returns true if the obj parameter is a JavaScript String object or a value that evaluates to a String object, and false otherwise. Open for proposals ·