vegan-ipsum
Version:
Generates passages of vegan-themed placeholder text suitable for use in web pages, graphics, and more. Works in the browser, NodeJS, and React Native.
25 lines (24 loc) • 760 B
TypeScript
/**
* Determines if the current runtime environment is Node.js.
*
* @returns {boolean} `true` if the runtime is Node.js, otherwise `false`.
*/
export declare const isNode: () => boolean;
/**
* Determines if the current runtime environment is React Native.
*
* @returns {boolean} `true` if the runtime is React Native, otherwise `false`.
*/
export declare const isReactNative: () => boolean;
/**
* Determines if the current runtime environment is Windows.
*
* @returns {boolean} `true` if the process is running on a Windows platform, otherwise `false`.
*/
export declare const isWindows: () => boolean;
declare const _default: {
isNode: () => boolean;
isReactNative: () => boolean;
isWindows: () => boolean;
};
export default _default;