File Editor
Directories:
.. (Back)
Flag
Files:
AddUrlRef.js
Error.js
ErrorBoundary.js
Hyperlink.js
Icon.js
api.js
formatting.js
getAnchor.js
lib.js
sleeper.js
Create New File
Create
Edit File: lib.js
export const in_array = (needle, haystack) => { let length = haystack.length; for(let i = 0; i < length; i++) { if( haystack[i] == needle ) return true; } return false; } export const errorMsg = (error) => { let length = haystack.length; for(let i = 0; i < length; i++) { if( haystack[i] == needle ) return true; } return false; }
Save Changes
Rename File
Rename