mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 10:34:17 +00:00
15 lines
326 B
JavaScript
Executable File
15 lines
326 B
JavaScript
Executable File
export function isDirectionTop(direction) {
|
|
return direction === "top";
|
|
}
|
|
|
|
export function isDirectionBottom(direction) {
|
|
return direction === "bottom";
|
|
}
|
|
|
|
export function isDirectionLeft(direction) {
|
|
return direction === "left";
|
|
}
|
|
|
|
export function isDirectionRight(direction) {
|
|
return direction === "right";
|
|
} |