fcf.isObject() function
Package: fcf-framework-core
File: fcf-framework-core:fcf.js
Available from version: 2.0.2
Checks if the argument is an object and not null
Arguments
- test argument
Result
- Returns the result of the check
Example: Function application
console.log(`{}: `, fcf.isObject({}));
console.log(`[]: `, fcf.isObject([]));
console.log(`null: `, fcf.isObject(null));
console.log(`1: `, fcf.isObject(1));
Output:
{}: true
[]: true
null: false
1: false