UNPKG

ibm-cloud-sdk-core

Version:

Core functionality to support SDKs generated with IBM's OpenAPI SDK Generator.

56 lines (27 loc) 756 B
<!-- Do not edit this file. It is automatically generated by API Documenter. --> [Home](./index.md) &gt; [ibm-cloud-sdk-core](./ibm-cloud-sdk-core.md) &gt; [atLeastOne](./ibm-cloud-sdk-core.atleastone.md) ## atLeastOne() function Checks for at least one of the given elements being defined. **Signature:** ```typescript export declare function atLeastOne(...args: any): boolean; ``` ## Parameters <table><thead><tr><th> Parameter </th><th> Type </th><th> Description </th></tr></thead> <tbody><tr><td> args </td><td> any </td><td> The spread of arguments to check </td></tr> </tbody></table> **Returns:** boolean true if one or more are defined; false if all are undefined