📁
SKYSHELL MANAGER
PHP v8.3.6
Create
Create
Path:
root
/
var
/
www
/
cstage
/
wp-includes
/
js
/
tinymce
/
themes
/
Name
Size
Perm
Actions
📁
inlite
-
0755
🗑️
🏷️
🔒
📁
modern
-
0755
🗑️
🏷️
🔒
📄
ms-files.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
📄
wp-activate.php
6.83 KB
0444
🗑️
🏷️
⬇️
✏️
🔒
Edit: args.ts
import { SchedulerLike } from '../types'; import { isFunction } from './isFunction'; import { isScheduler } from './isScheduler'; function last<T>(arr: T[]): T | undefined { return arr[arr.length - 1]; } export function popResultSelector(args: any[]): ((...args: unknown[]) => unknown) | undefined { return isFunction(last(args)) ? args.pop() : undefined; } export function popScheduler(args: any[]): SchedulerLike | undefined { return isScheduler(last(args)) ? args.pop() : undefined; } export function popNumber(args: any[], defaultValue: number): number { return typeof last(args) === 'number' ? args.pop()! : defaultValue; }
Save