Download wp-calypso/client/layout/guided-tours/utils.js from Devendra174/react-code-dataset: direct link, hf CLI and curl.
- Browser
- Download file 194 Bytes
-
https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/guided-tours/utils.js
- Command line
-
hf download hf://datasets/Devendra174/react-code-dataset/wp-calypso/client/layout/guided-tours/utils.js
-
curl -L -o utils.js https://huggingface.co/datasets/Devendra174/react-code-dataset/resolve/main/wp-calypso/client/layout/guided-tours/utils.js
194 Bytes
| const noop = () => {}; | |
| const and = | |
| ( ...conditions ) => | |
| () => | |
| conditions.every( ( cond ) => cond() ); | |
| const not = | |
| ( fn ) => | |
| ( ...args ) => | |
| ! fn( ...args ); | |
| export { and, not, noop }; | |